#pragma once

#include "framework.h"
#include "Player.h"
#include "BackgroundImage.h"
#include "Rain.h"
#include "HourHand.h"
#include "Enemy.h"
#include "Bullet.h"

class Game
{
public:
	Game(HWND hWnd);
	void GameRun(HDC hdc);

	~Game();
private:
	HWND _hWnd;
	HDC _hMemDC;
	HBITMAP _hBitMap;

	Timer move_time;
	TCHAR szFPS[32];
	int fps;
	HBRUSH hBackground;
	HBRUSH hOldBackground;

	Player _player;
	Coordinate _Coor;
	float _angle;
	float _speed;

	BackgroundImage _BackgroundImage;

	Rain _rain;

	HourHand _HourHand;

	Enemy _Enemy[30];

	std::list<Bullet*> _bullets;
	bool _fire;
	Timer _TimerFire;
};

